home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-19
/
intrlib1.zip
/
MAKEFILE.DJG
< prev
next >
Wrap
Text File
|
1992-03-10
|
2KB
|
74 lines
#
# This is the make file for the intr_lib - interaction library.
# In order to run it DJGPP is assumed to be available, in addition to
# Borland make (do not use the protected make from BC++ 3.0 and above - use
# maker)
#
# Gershon Elber, Feb 1992
#
# Works only on TC++ 1.0 make and up - swap out make before invoking command.
.SWAP
# Your C compiler and linker
CC = gcc
# CFLAGS = -g -DDJGCC
CFLAGS = -O -DDJGCC
# Where all the include files are:
INC_DIR = c:\tools\djgpp\myinclude
INC = -I. -I$(INC_DIR)
#
# Libs to link with
#
LIB_DIR = c:\tools\djgpp\mylib
LIBS = -L$(LIB_DIR) -lgr -lpc -lm
OBJS = cursor.o input.o intr_gen.o intr_djg.o messages.o \
pd_menus.o pu_menus.o pu_query.o saveimag.o slct_clr.o \
textwndw.o window.o
.cc.o:
$(CC) $(INC) -c $(CFLAGS) $<
.c.o:
$(CC) $(INC) -c $(CFLAGS) $<
libintr.a: $(OBJS)
ar rc libintr.a @&&!
$(OBJS)
!
install: libintr.a
copy libintr.a $(LIB_DIR)
ar s $(LIB_DIR)\libintr.a
copy intr_lib.h $(INC_DIR)
copy intr_gr.h $(INC_DIR)
intrtest.exe: $(OBJS) intrtest.o
$(CC) $(CFLAGS) -o intrtest @&&!
intrtest.o $(OBJS) $(LIBS) -lm
!
# strip intrtest
# aout2exe intrtest
cursor.c: intr_loc.h intr_gr.h
input.c: intr_loc.h intr_gr.h
intr_gen.c: intr_loc.h intr_gr.h
intr_djg.c: intr_loc.h intr_gr.h
messages.c: intr_loc.h intr_gr.h
pd_menus.c: intr_loc.h intr_gr.h
pu_menus.c: intr_loc.h intr_gr.h
pu_query.c: intr_loc.h intr_gr.h
saveimag.c: intr_loc.h intr_gr.h
slct_clr.c: intr_loc.h intr_gr.h
textwndw.c: intr_loc.h intr_gr.h
window.c: intr_loc.h intr_gr.h
intrtest.c: intr_lib.h intr_gr.h